<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$nums=25;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='3' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<form name="save" method="post" action="?ac=key&do=save&fileurl=conference">
	<input type="hidden" name="savetype" value="edit" />
	<input type="hidden" name="id" value="<?=$conference['id']?>" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">会议进行时间</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 开始时间：</td>
      <td class="TableData">
	  <?php
					$startdate=explode(' ',$conference['startdate']);
					$starttime=explode(':',$startdate[1]);
					?>
			
			日期：<input type="text" name="startdate" class="input" size="20" value="<?=$startdate[0]?>"  onClick="WdatePicker();"/>		时间：
			  <select name="starttime1">
			    
				<?php
				for($i=1;$i<=23;$i++){
				if (strlen($i)<2){
				$j="0".$i;
				}else{
				$j=$i;
				}
				?>
				<option value="<?=$j?>" <?php if($starttime[0]==$j){?>selected="selected"<?php }?>><?=$j?></option>
				<?php } ?>
		      </select>点
			  <select name="starttime2">
			   
				<?php
				for($i=0;$i<=59;$i++){
				if (strlen($i)<2){
				$j="0".$i;
				}else{
				$j=$i;
				}
				?>
				<option value="<?=$j?>" <?php if($starttime[1]==$j){?>selected="selected"<?php }?>><?=$j?></option>
				<?php } ?>
		      </select>分		</td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 结束时间：</td>
      <td class="TableData">
<?php
					$enddate=explode(' ',$conference['enddate']);
					$endtime=explode(':',$enddate[1]);
					?>
			日期：<input type="text" name="enddate" class="input" value="<?=$enddate[0]?>" size="20" onClick="WdatePicker();"/>		时间：
			  <select name="endtime1">
			   
				<?php
				for($i=1;$i<=23;$i++){
				if (strlen($i)<2){
				$j="0".$i;
				}else{
				$j=$i;
				}
				?>
				<option value="<?=$j?>" <?php if($endtime[0]==$j){?>selected="selected"<?php }?>><?=$j?></option>
				<?php } ?>
		      </select>点
			  <select name="endtime2">
			   
				<?php
				for($i=0;$i<=59;$i++){
				if (strlen($i)<2){
				$j="0".$i;
				}else{
				$j=$i;
				}
				?>
				<option value="<?=$j?>" <?php if($endtime[1]==$j){?>selected="selected"<?php }?>><?=$j?></option>
				<?php } ?>
		      </select>分		
      </td>
    </tr>
	<tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;会议人员设置</b></td>
    </tr>
	<tr>
      <td nowrap class="TableData" width="15%"> 申请人：</td>
      <td class="TableData"><?=GET_INC_USER_NAME($conference['appperson'])?></td>
    </tr>
	<tr>
      <td nowrap class="TableData" width="15%"> 出席人员：</td>
      <td class="TableData">
      <?=$conference['attendance']?></td>
    </tr>

	<tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;会议信息</b></td>
    </tr>
	 <tr>
      <td nowrap class="TableData"> 会议名称：</td>
      <td class="TableData">
	   <?=$conference['title']?>
      </td>
    </tr>
	<tr>
      <td nowrap class="TableData"> 会议主题：</td>
      <td class="TableData">
	   <?=$conference['subject']?>
      </td>
    </tr>
	<tr>
      <td nowrap class="TableData"> 会议描述：</td>
      <td class="TableData">
	   <?=$conference['content']?>
      </td>
    </tr>
 
    <tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;类型设置</b></td>
    </tr>
	 <tr>
      <td nowrap class="TableData" width="15%"> 会议室：</td>
      <td class="TableData">
	   <select name="conferenceroom" id="conferenceroom">
			<?=get_inc_office_type($conference['conferenceroom'],1)?>
			</select>请选择最后确认的会议室
      </td>
    </tr>
	<tr>
      <td nowrap class="TableData"> 审批：</td>
      <td class="TableData">
	  <input type="radio" name="type" value="3" style="border:0px;" />拒绝<input name="type" type="radio" style="border:0px;" value="2" checked="checked" />
			批准
      </td>
    </tr>
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">

		<input type="submit" name="Submit" value="确 定" class="BigButton"> 
        
      </td>
    </tr>
  </table>
</form>
</div>
</div>

 
</body>
</html>
